/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   14-12-26 下午4:31 Created by dwzhang
 */
package com.jade.bss.beacon;

import java.io.Serializable;

/**
 * BeaconRegion信息。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 14-12-26 下午4:31
 */
public class BeaconRegion
        implements Serializable
{
    /** 内部唯一的beacon id*/
    private long id;
    /** beacon的proximity uuid，不是beacon的id */
    private String uuid;
    /** beacon major */
    private int major;
    /** beacon minor */
    private int minor;
    /** 信号强度 */
    private int rssi;

    /**1:进入,2:active,3:leave*/
    private int status;

    /** a general sense of the relative proximity to the beacon */
    private int proximity;
    /** 估计的距离，以米为单位 */
    private double distance;

    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public String getUuid()
    {
        return uuid;
    }

    public int getStatus()
    {
        return status;
    }

    public void setStatus(int status)
    {
        this.status = status;
    }

    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public int getMajor()
    {
        return major;
    }

    public void setMajor(int major)
    {
        this.major = major;
    }

    public int getMinor()
    {
        return minor;
    }

    public void setMinor(int minor)
    {
        this.minor = minor;
    }

    public int getRssi()
    {
        return rssi;
    }

    public void setRssi(int rssi)
    {
        this.rssi = rssi;
    }

    public int getProximity()
    {
        return proximity;
    }

    public void setProximity(int proximity)
    {
        this.proximity = proximity;
    }

    public double getDistance()
    {
        return distance;
    }

    public void setDistance(double distance)
    {
        this.distance = distance;
    }
}
